Add geoniche test cases.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 17 Jan 2004 22:13:05 +0000 (22:13 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 17 Jan 2004 22:13:05 +0000 (22:13 +0000)
gpsbabel/reference/geoniche.pdb [new file with mode: 0644]
gpsbabel/testo

diff --git a/gpsbabel/reference/geoniche.pdb b/gpsbabel/reference/geoniche.pdb
new file mode 100644 (file)
index 0000000..0c8ba05
Binary files /dev/null and b/gpsbabel/reference/geoniche.pdb differ
index 5020240487f2bb5c65a891f337456fae2c3f5ffe..0ac00b38b51c80ef293b40efc7be2c5b4429eff8 100755 (executable)
@@ -460,4 +460,14 @@ ${DIFF}  ${TMPDIR}/reverse1.arc  ${TMPDIR}/reverse2.arc > /dev/null && {
                exit 1
 }
 
+#
+# Geoniche: No referene file was available, so we created one and just
+# test it against itself.
+#
+rm -f ${TMPDIR}/gn.pdb ${TMPDIR}/1.gpx ${TMPDIR}/2.gpx
+${PNAME} -i geoniche -f reference/geoniche.pdb -o geoniche -F ${TMPDIR}/gn.pdb
+${PNAME} -i geoniche -f reference/geoniche.pdb -o gpx -F ${TMPDIR}/1.gpx
+${PNAME} -i geoniche -f ${TMPDIR}/gn.pdb -o gpx -F ${TMPDIR}/2.gpx
+${DIFF} ${TMPDIR}/1.gpx ${TMPDIR}/2.gpx
+
 exit 0